package ysoserial.exploit.rmi;

import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;

/**
 * @ClassName: RMIClient
 * @Description: ToDo
 * @Author: angelwhu
 * @Create: 2019/07/03 16:00
 **/
public class RMIClient {
    public static void main(String[] args) throws NamingException {
        Context context=new InitialContext();
        Object object = context.lookup("rmi://xxx:53/Object");
        System.out.println(object);
    }
}
